﻿<?xml version="1.0" encoding="utf-8"?><topicVersion><topicName>TestPage</topicName><creator /><createdOn>2013-02-14T01:35:55.507</createdOn><version>8</version><tags /><editReason /><minorUpdates /><wikiText>!!Level 2 Header for a New Page

Edit the content of this message to create your new page. Add tags as required and then save the page.

{@CSharp
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestIronWikiSyntax()
        {
            WikiScriptEngine.Initialize();
            StringBuilder scriptSource = new StringBuilder();
            scriptSource.AppendLine("WikiSyntax = IronWikiSyntax()");
            scriptSource.AppendLine("so = ''");
            scriptSource.AppendLine("for iwc in WikiSyntax.IronWikiClasses :");
            scriptSource.AppendLine("    so = so + '||' + iwc.Name + '||' + iwc.Description + '||\r\n'");
            scriptSource.AppendLine("ScriptOutput = so");
            //scriptSource.AppendLine("");
            //scriptSource.AppendLine("");

            string result = WikiScriptEngine.ExecuteBehavior(scriptSource.ToString());
            
            Assert.IsNotNull(result);
        }
    }
}@


@@
WikiSyntax = IronWikiSyntax()
so = UtilityProperties.Now + UtilityProperties.Newline
for iwc in WikiSyntax.IronWikiClasses :
    so = so + '||' + iwc.Name + '||' + iwc.Description + '''||\r\n'''
for iwb in WikiSyntax.IronWikiMembers :
    so = so + '||' + iwb.Name + '||' + iwb.Description + '||' + iwb.ParentClassName + '||' + UtilityProperties.Newline
ScriptOutput = so
@@

        1. This is the start of a numbered list
        1. The second list item
                1. The first item of a numbered sub-list
                1. The second sub item
        1. The third list item
        1. Fourth list item</wikiText><body>&lt;WomDocument&gt;
&lt;BaseTopic&gt;http://localhost/LynxWiki/WikiTopic/Index&lt;/BaseTopic&gt;
&lt;BaseEdit&gt;http://localhost/LynxWiki/WikiTopic/EditTopic&lt;/BaseEdit&gt;
&lt;BaseImage&gt;http://localhost/LynxWiki/images/&lt;/BaseImage&gt;
&lt;SiteUrl&gt;http://localhost/LynxWiki/&lt;/SiteUrl&gt;
&lt;InputDoc&gt;&lt;/InputDoc&gt;
&lt;Header level="2"&gt;
&lt;womHeaderText&gt;Level 2 Header for a New Page&lt;/womHeaderText&gt;&lt;AnchorText&gt;_1_Level_2_Header_for_a_New_Page&lt;/AnchorText&gt;&lt;/Header&gt;
&lt;Para&gt;&lt;paraText&gt;Edit the content of this message to create your new page. Add tags as required and then save the page.&lt;/paraText&gt;&lt;/Para&gt;
&lt;PreformattedMultilineCSharp&gt;&lt;womMultilineCode&gt;
    [TestClass]
    public class UnitTest1
    {
	[TestMethod]
	public void TestIronWikiSyntax()
	{
	    WikiScriptEngine.Initialize();
	    StringBuilder scriptSource = new StringBuilder();
	    scriptSource.AppendLine("WikiSyntax = IronWikiSyntax()");
	    scriptSource.AppendLine("so = ''");
	    scriptSource.AppendLine("for iwc in WikiSyntax.IronWikiClasses :");
	    scriptSource.AppendLine("    so = so + '||' + iwc.Name + '||' + iwc.Description + '||\r\n'");
	    scriptSource.AppendLine("ScriptOutput = so");
	    //scriptSource.AppendLine("");
	    //scriptSource.AppendLine("");
	    string result = WikiScriptEngine.ExecuteBehavior(scriptSource.ToString());
	    
	    Assert.IsNotNull(result);
	}
    }
&lt;/womMultilineCode&gt;
&lt;/PreformattedMultilineCSharp&gt;
&lt;Para&gt;&lt;WikiTalkString&gt;@@
WikiSyntax = IronWikiSyntax()
so = UtilityProperties.Now + UtilityProperties.Newline
for iwc in WikiSyntax.IronWikiClasses :
    so = so + '||' + iwc.Name + '||' + iwc.Description + '''||\r\n'''
for iwb in WikiSyntax.IronWikiMembers :
    so = so + '||' + iwb.Name + '||' + iwb.Description + '||' + iwb.ParentClassName + '||' + UtilityProperties.Newline
ScriptOutput = so
@@&lt;/WikiTalkString&gt;&lt;/Para&gt;
&lt;list type="ordered"&gt;&lt;item&gt;
&lt;womListText&gt; This is the start of a numbered list&lt;/womListText&gt;&lt;/item&gt;
&lt;item&gt;
&lt;womListText&gt; The second list item&lt;/womListText&gt;&lt;list type="ordered"&gt;&lt;item&gt;
&lt;womListText&gt; The first item of a numbered sub-list&lt;/womListText&gt;&lt;/item&gt;
&lt;item&gt;
&lt;womListText&gt; The second sub item&lt;/womListText&gt;&lt;/item&gt;
&lt;/list&gt;&lt;/item&gt;
&lt;item&gt;
&lt;womListText&gt; The third list item&lt;/womListText&gt;&lt;/item&gt;
&lt;item&gt;
&lt;womListText&gt; Fourth list item&lt;/womListText&gt;&lt;/item&gt;&lt;/list&gt;
&lt;/WomDocument&gt;
</body><allowUpdate /><denyRead /></topicVersion>